Page({
    data: {
        current: 'tab1',
        current_scroll: 'tab1'
    },

    handleChange({
        detail
    }) {
        this.setData({
            current: detail.key,
            currentIndex: detail.index
        });
    },

    handleChangeScroll({
        detail
    }) {

        this.setData({
			current_scroll: detail.key,
			currentIndex: detail.index
        });
    }
});